
<div class="title">
  <h4>
    <?php if ($relation == 3){echo '我'; }else {?>TA<?php } echo '的其他'; if(I('get.type') == 'like'){echo '喜欢'; }else{echo '分享'; }?>
  </h4>
  <span><a href="<?php echo url('member/snshome/shareglist');?>?type=<?php if (I('get.type') == 'like'){?>like<?php }else { ?>share<?php } ?>&mid=<?php echo $sharegoods_info['share_memberid'];?>">更多</a></span></div>
<div class="side-goodslist">
  <ul>
    <?php if(!empty($sharegoods_list)){?>
    <?php foreach ($sharegoods_list as $val){?>
    <li>
      <div class="goods-pic"><span class="thumb size75"><i></i><a href="<?php echo url('member/snshome/goodsinfo');?>?mid=<?php echo $val['share_memberid'];?>&id=<?php echo $val['share_id'];?><?php if(I('get.type') == 'like') echo '&type=like';?>" title="<?php echo $val['snsgoods_goodsname'];?>">
      	<img src="<?php echo cthumb($val['snsgoods_goodsimage'], 60,$val['snsgoods_storeid']);?>"/></a></span><em class="price"><?php echo "yen";?>{$val['snsgoods_goodsprice']}</em></div>
    </li>
    <?php }?>
    <?php }else{?>
    <li>
      <div><span>没有查找到其他商品。</span></div>
    </li>
    <?php }?>
  </ul>
</div>